package com.yyb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Date;

/**
 * 
 * 
 * 
 */
@Data
@Schema(title = "SysDictTypeAddDTO" ,description = "添加字典类型的入参模型")
public class SysDictTypeAddDTO {
    /**
     * 字典名称
     */
    @Schema(title = "字典名称")
    @NotBlank(message = "字典名称不能为空")
    private String dictName;

    /**
     * 字典类型
     */
    @Schema(title = "字典类型")
    @NotBlank(message = "字典类型不能为空")
    private String dictType;

    /**
     * 状态（0正常 1停用）
     */
    @Schema(title = "状态")
    @NotNull(message = "状态不能为空")
    private Integer status;
    /**
     * 备注
     */
    @Schema(title = "备注")
    private String remark;

}
